package com.whmall.service.crm.entity.dto.supplierchemical;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Description TODO
 * @Author yangkuan
 * Date 2020/9/18 15:46
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SupplierChemicalCoaQueryReqDTO implements Serializable {

    private static final long serialVersionUID = 3783174693571712807L;

    private Long chemicalId;

    private List<Long> companyIds;

    private String companyName;

    private Integer pageNum;

    private Integer offset;

    private Integer pageSize;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createStartTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createEndTime;

    private Integer coaSourceType;

    private Long coaSourceId;

}
